package Lian01;

public class ShangChongXunHuan {
    //各循环可互相嵌套
    //操作最好不超过三层，原因是会影响效率
    public static void main(String[] args) {
        for (int j = 1; j <=5 ; j++) {
            System.out.println("第"+j+"年公转开始");
            for (int i = 1; i <= 365; i++) {
                System.out.println("自转"+i+"圈"+i+"天过去了");
            }
        }
    }
}
